package com.lpwa.system.domain;


import com.lpwa.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 标签资产关系表 sys_tag_asset
 * 
 * @author lpwa
 * @date 2019-12-18
 */
public class TagAsset extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** ID */
	private Long id;
	/** 标签ID */
	private String tagId;
	/** 资产ID */
	private String assetId;
	/** 是否绑定（0解绑 1绑定） */
	private String isBind;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setTagId(String tagId) 
	{
		this.tagId = tagId;
	}

	public String getTagId() 
	{
		return tagId;
	}
	public void setAssetId(String assetId) 
	{
		this.assetId = assetId;
	}

	public String getAssetId() 
	{
		return assetId;
	}
	public void setIsBind(String isBind) 
	{
		this.isBind = isBind;
	}

	public String getIsBind() 
	{
		return isBind;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tagId", getTagId())
            .append("assetId", getAssetId())
            .append("isBind", getIsBind())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
